#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@author: ZhengShiQi
@file: run.py
@time: 2025/8/27 17:06
@desc: 项目运行入口
"""

import os
import sys
import pytest

# 添加项目根目录到sys.path
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))

if __name__ == '__main__':
    # 运行所有测试用例
    pytest.main(["-v", "--html=report.html", "--self-contained-html", "case_script/"])